<?php
/*
 * A class containing the response to an authentication request.
 * Contains true (1) or false (0).   Any value other than 1 will be
 * stored as false.
 */
class AuthenticationResponse {
    public $isAuthenticated = false;
    public function __construct($result)
    {
        $this->isAuthenticated = ($result == 1 ? true : false);
    }
}
?>